class Solution:
  def replaceSpace(self, s: str) -> str:
    return s.replace(' ', '%20')


'''
STATUS: SOLVED
TRIES:  1
TIME:   40 MS
MEMORY: 13.7 MB
'''
if __name__ == "__main__":
  solution = Solution()
  s = "We are happy."
  print(solution.replaceSpace(s))
